import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import { state } from '@/api/api'
//如果·用假数据则引入mock
if (state === 'mock') {
  require('@/mock/head')
  require('@/mock/customer')

}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
